package com.suxin.module.sender.consumer;

/**
 * @Classname Consumer
 * @Description [ TODO ]
 * @Author Tang
 * @Date 2020/10/15 15:08
 * @Created by ASUS
 */
public interface MyConsumer {
    /**
     * 开始消费队列中的内容
     */
    void start();

    /**
     * 优雅关闭
     */
    void gracefulStop();

    /**
     * 是否强制关闭
     * @param isForce
     */
    void forceStop(boolean isForce);
}
